package org.mypofolio.gui;


import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.text.NumberFormat;
import java.text.ParseException;

import javax.swing.Icon;
import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import javax.swing.SwingConstants;
import javax.swing.UIManager;
import javax.swing.table.AbstractTableModel;
import javax.swing.table.DefaultTableCellRenderer;
import javax.swing.table.TableColumnModel;

import org.apache.commons.configuration.ConfigurationException;
import org.mypofolio.model.CurrencyTableModel;

public class Main {
	  public static void main(String[] args) throws ConfigurationException, ParseException {
		    try {
		        UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
		    } catch (Exception evt) {}
		    
		    CurrencyTableModel ct=new CurrencyTableModel();
		    MainFrame mf=new MainFrame();
		    mf.init(ct);
		    ct.getUpdateManager().start();
		
		  }
}
